var router = function($urlRouterProvider, $stateProvider){

    $stateProvider

    //企业限额信息设置页
    .state('app.companyMoneyLimit', {
        url: '/moneylimit',
        views: {
            'main@' : {
                controller : 'moneylimit',
                template: require('./views/moneylimit.html'),
            }
        },
        resolve:{
        }
    })

    //企业已使用补贴信息同步
    .state('app.subsidySync', {
        url: '/subsidysync',
        views: {
            'main@' : {
                controller : 'subsidysync',
                template: require('./views/subsidysync.html'),
            }
        },
        resolve:{
        }
    })

    //企业对账页
    .state('app.companycount', {
        url: '/companycount',
        views: {
            'main@' : {
                controller : 'companycount',
                template: require('./views/companycount.html'),
            }
        },
        resolve:{
        }
    })

    //事务所待审核
    .state('app.subsidyCheck', {
        url: '/subsidycheck',
        views: {
            'main@' : {
                controller : 'subsidycheck',
                template: require('./views/subsidycheck.html'),
            }
        },
        resolve:{
        }
    })
    //事务所审核历史
    .state('app.subsidyChecked', {
        url: '/subsidychecked',
        views: {
            'main@' : {
                controller : 'subsidychecked',
                template: require('./views/subsidychecked.html'),
            }
        },
        resolve:{
        }
    })

    //银行确认
    .state('app.moneySupply', {
        url: '/moneysupply',
        views: {
            'main@' : {
                controller : 'moneysupply',
                template: require('./views/moneysupply.html'),
            }
        },
        resolve:{
        }
    })
    // 银行拨付历史
    .state('app.moneySupplied', {
        url: '/moneysupplied',
        views: {
            'main@' : {
                controller : 'moneysupplied',
                template: require('./views/moneysupplied.html'),
            }
        },
        resolve:{
        }
    })


    //旅游委查询
    .state('app.moneySummary', {
        url: '/moneysummary',
        views: {
            'main@' : {
                controller : 'moneysummary',
                template: require('./views/moneysummary.html'),
            }
        },
        resolve:{
        }
    })

    ;

};

module.exports = router;